﻿using System;
using System.Threading.Tasks;
using Xms.Abp.Application.Dtos;
using Xms.Abp.Application.Services;

namespace IdentityManagement
{
    public interface IOrganizationUnitAppService: IXmsCrudAppService<OrganizationUnitResult, Guid, OrganizationUnitPagedParameter, OrganizationUnitCreateParameter, OrganizationUnitUpdateParameter>
    {
        Task<PagedResult<OrganizationUnitResult>> PagedByTypeAsync(OrganizationUnitFilterByTypePatameter parameter);
        Task<PagedResult<OrganizationUnitTreeResult>> GetTreeAsync(OrganizationUnitTreeFilterParameter parameter);
    }
}
